# Please don't change this file unless you know what you're doing

set SYS_PROMPT "\\$|\#|\\(enable\\)|\\>"
#set SYS_RUN_PROMPT "\\$|\#|\\(enable\\)|\\\\>|user1>"
#set SYS_RUN_PROMPT "\\$|\#|\\(enable\\)|\\\\>|user1>|FortiClient>"
set SYS_RUN_PROMPT "\\$|\#|\\(enable\\)|\\\\>|user1>|FortiClient>|ftp>"
#LOG_SEV defines sevirity level of information to print in info window
set LOG_SEV 3
set TIMEOUT 15
set TIMEOUT_IPSEC 5
set MAX_LOG_LINES 2000
set SLEEP_AFTER_CONF 10
set log_to_monitor "1"
set comm_array(1) ""

#set platform_list "50 50A 50AM 60 60M 60AM 60-WF 100 200 200A 300 310C 300A 400 500 500A 800 1K 1000A 3000 3016B 3600 3600A 3810A 4000 5000"
#set version_list "250 280 300 400"
#set deb_out_list "deb out"
#the operator_ip is for TFTP server. You can setup the IP address for uploading/downloading image and config file
#set operator_ip "172.18.7.216"
#TFTP options
set TFTPSVR "172.18.7.216"
set TFTPDIR "/usr/tftpboot"
#FG_IMAGE info
#set FG_IMAGE_USER "test"
#set FG_IMAGE_PASS "test"
#set FG_IMAGE_SVR "172.16.100.71"
#sky setting
#set PROXY_SERVER "172.18.7.216"
set PROXY_SERVER "hyin.pythonanywhere.com"
set PROXY_PORT 80
set SERVER_URL "http://hyin.pythonanywhere.com"
#set SERVER_URL "http://172.18.7.216/myapp"
#don't forget to change to your name, the name will be recorded in log_result table
#set operator "hyin"
set USERFILE "user_info.cfg"

set DB_NAME "hyin\$hans_pub"
set DB_NAME "db_pub_hans"
set DB_PRV_NAME "hyin\$hans_prv"
set DB_PRV_NAME "db_prv_hans"


set TREE_TB "tree"
set TREE "tree"
set DEV_TB "dev_access"
set ENV_DEV "env_dev"
set ENV_DEV_PRV "env_dev_prv"
set ENV_TEST "env_test"
set ENV_TEST_GROUP "test_group"
set TEST_GROUP "test_group"
set ENV_DUT "env_dut"
set LOG_RESULT "log_result"
set SW_DEV_CONN "sw_dev_conn"
set TEST "test_new"
set TB_LIST "$TREE_TB $DEV_TB $ENV_DEV $ENV_DEV_PRV $ENV_TEST $ENV_TEST_GROUP $TEST_GROUP $ENV_DUT $TEST $LOG_RESULT"
set ENV_REPO_DIR "../env_repository/"
set run_case_no 0
set run_case_no_min 1
set run_case_no_max 999
set exit_when_found_problem 0
set exit_when_test_fail 0
set RUN_TEST_STATE "0;1;2;3;4;5;6;7;8;9;"
set DB_KEEPALIVE 0
set DB_KEEPALIVE_TIMER 115

set RETRY_TIMES_WHEN_FAIL "1"
set file_for_tmp_exp_script "$SCRIPT_DIR/tmp/tmp_exp_script.exp"
set file_for_tmp_exp_result "$SCRIPT_DIR/tmp/tmp_exp_result"
set file_for_tmp_sh_script "$SCRIPT_DIR/tmp/tmp_sh_script.sh"
set file_for_tmp_sh_result "$SCRIPT_DIR/tmp/tmp_sh_result"
set tag_for_prv "###read from private space:"
#diagnose debug crashlog read|||EAX:
set cmd_check_sw_version "show version |||Internetwork Operating System|IOS"
set cmd_check_sw_version2 "show version |||Serial number          :FS"
set cmd_check_crash "
end
config global
diagnose debug crashlog read|||EAX:
"
set hlp_subst_dut_cfg "
#env_dut : DUT1
#env_dut_new : FG800
#env_options : test_p1 test_p2 test_p3
#env_options_new : internal external dmz"
set hlp_subst_others_cfg "
#1 from  test_FG1 internal external dmz ext_v10
#1 to    FG300    internal external dmz ext_v10
#2 from  test_FG2 port1    port2 
#2 to    FG200    internal external 
#3 from  PC1      eth1
#3 to    PC1_HANS eth1
#4 from  PC2      eth1
#4 to    PC2_grp1 eth0"
set cmd_check_backlog "
end
config global
diag sys ha status|||master_ip=0.0.0.00000000000000000000000
"

set sample_expect "
for {set i 101} {\$i<120} {incr i +1} {
	puts \"config vdom\"
        puts \"edit 800_vd\$i\"
        puts \"end\"
}"
set DEFAULT_DESCRIPTION_OF_TREE "<Description>


<Object>


<Test Content>

<Notes>"

set sample_cmd "
config vdom
edit 800_vd103
config vpn ipsec phase1
edit to_103
set dpd-retryinterval 30
end
end
config vdom
edit 800_vd105
config vpn ipsec phase1
edit to_105
set dpd-retryinterval 30
end
end"
